/*
 * Created on 2005. 11. 9
 */
package com.java.util;

import java.io.Serializable;
import java.util.Map;

/**
 * @author <a href="mailto:lamp_java@naver.com">Lamp</a>
 */
public interface HttpMap extends Map, Serializable {

	public boolean equals(String key, Object value);

	public String getString(String key);

	public String[] getStrings(String key);

	public boolean isSetKeys(String keys);

	public boolean isSetKeyValues(String keys);

	/**
	 * <pre>
	 * 문자열을 int형으로 변환한 값을 반환 한다.
	 * Examples:
	 * &lt;blockquote&gt;
	 * getInt(&quot;name&quot;);
	 * &lt;/blockquote&gt;
	 * </pre>
	 * 
	 * @param key
	 *            변환 될 문자열
	 * @return 반환되는 int 값
	 */
	public int getInt(String key);

	public boolean getBoolean(String key);

	/**
	 * @param key
	 * @param value
	 * @return
	 */
	public void setInt(String key, int value);

	public void setBoolean(String key, boolean value);

	public void setString(String key, String value);

	public void setStrings(String key, String[] values);

}
